export const codes = {
  // select: 'ETCCHANGESELECT',
  // showDetail: 'ETCCHANGESELECT_VIEW',
  // add: 'ETCCHANGESELECT_ADD',
  // edit: 'ETCCHANGESELECT_UPD',
  // upload: 'ETCCHANGESELECT_IMPORT',
  page: 'MSGCONTENTPAGE',
};
//事件类型
export const EventType = [
  { code: 'INTERFACE-EXCEPTION', value: '接口异常' },
  { code: 'BUSINESS-REMINDERS', value: '业务提醒' },
];

export const statusMap = {
  'FAIL': 'error',
  'LOADFAIL': 'error',
  'READY': 'processing',
  'NOTlOAD': 'processing',
  'SUCCESS': 'success'
};

//状态
export const STATUS = [
  { code: 'READY', value: '准备' },
  { code: 'SUCCESS', value: '成功' },
  { code: 'FAIL', value: '失败' },
  { code: 'NOTlOAD', value: '未装载' },
  { code: 'LOADFAIL', value: '装载失败' },

];

//通知方式
export const NoticeMode = [
  { code: 'DING-ORDINARY', value: '普通' },
  { code: 'DING-ROBOT', value: '钉钉群机器人' },
  { code: 'EMAIL', value: '邮件' },
];
